/*

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*/
#import "XBMC-Common.h"

@class MusicView;
@class SectionMusicView;
@class SectionVideosView;
@class SettingsView;
@class NowPlayingView;
@class MediaQueueView;
@class UIWindow;
@class UITransitionView;
@class UIView;
@class UINavigationBar;
@class UIImageAndTextTableCell;
@class UISectionList;
@class UISectionTable;

@interface XBMCControlApplication : UIApplication {
    UIWindow *m_window;
	UITransitionView  *m_transitionView;
    UIView *m_mainMenuView;
    UINavigationBar *m_navBar;
	int m_mainMenuTransitionType;
	
	SectionMusicView *m_musicView;
	SectionVideosView *m_videosView;
	SettingsView *m_settingsView;
	NowPlayingView *m_nowPlayingView;
	MediaQueueView *m_mediaQueueView;

	UISectionList *m_sectionList;
    UISectionTable *m_table;
	
	UIImageAndTextTableCell *m_nowPlayingCell;
	UIImageAndTextTableCell *m_queuedItemsCell;
	
	UIImageAndTextTableCell *m_musicCell;
	UIImageAndTextTableCell *m_videosCell;
	UIImageAndTextTableCell *m_picturesCell;
	UIImageAndTextTableCell *m_filesCell;
	
	UIImageAndTextTableCell *m_musicPlaylistsCell;
	UIImageAndTextTableCell *m_videoPlaylistsCell;
	
	NSMutableArray *m_CellArray;
	NSMutableArray *m_ViewArray;
}

- (void) showProgress: (BOOL)show;
- (void) exit;
- (void) transitionToMainMenu;
- (void) switchToSettingsView;
- (void) switchToMusicView;
- (void) switchToVideosView;
- (void) switchToNowPlayingView;
- (void) switchToMediaQueueView;
- (void) createMenuCells;

@end
